<?php
$dbParams = array(
    'hostname' => 'localhost',
    'port' => 5432,
    'username' => 'postgres',
    'password' => 'brisingr',
    'database' => 'pos'
);
 
return array(
    'doctrine' => array(
        'connection' => array(
            'orm_default' => array(
                'driverClass' => 'Doctrine\DBAL\Driver\PDOPgSql\Driver',
                    'params' => array(
                        'host' => $dbParams['hostname'],
                        'port' => $dbParams['port'],
                        'user' => $dbParams['username'],
                        'password' => $dbParams['password'],
                        'dbname' => $dbParams['database'],
                )
            )
        )
    )
);

?>